import { RouteRecordRaw } from "vue-router";

const usermngRoutes:Array<RouteRecordRaw> = [
    {
        path:'/usermng',
        name: 'userMng',
        meta:{moduleName:'用户管理'},
        component: ()=> import(/* webpackChunkName: "usermng"*/ '../../views/workbench/usermng/Main.vue'),
        redirect:'/usermng/home',
        children:[{
            path:'/usermng/home',
            name:'UserMngHome',
            component: ()=> import(/* webpackChunkName: "usermng"*/ '../../views/workbench/usermng/Home.vue'),
        },{
            path:'/usermng/userinfo',
            name:'UserInfo',
            component: ()=> import(/* webpackChunkName: "usermng"*/ '../../views/workbench/usermng/UserInfo.vue'),
        },{
            path:'/usermng/usertype',
            name:'UserType',
            component: ()=> import(/* webpackChunkName: "usermng"*/ '../../views/workbench/usermng/UserType.vue'),
        }]
    }
]
export default usermngRoutes